$OpenBSD: patch-Makefile,v 1.2 2014/03/11 05:16:31 bentley Exp $
--- Makefile.orig	Mon Jul 29 17:43:11 2013
+++ Makefile	Thu Feb 20 00:39:15 2014
@@ -182,13 +182,13 @@ $(BIN): $(OBJS)
 install:
 	mkdir -p $(DATADIR)/icons
 	mkdir -p $(PREFIX)/share/pixmaps
+	mkdir -p $(PREFIX)/share/applications
 	install -m 0755 $(BIN) $(BINDIR)
-	install -m 0644 source/unix/icons/nestopia.desktop $(DATADIR)
+	install -m 0644 source/unix/icons/nestopia.desktop $(PREFIX)/share/applications
 	install -m 0644 NstDatabase.xml $(DATADIR)
 	install -m 0644 source/unix/icons/*.png $(DATADIR)/icons
 	install -m 0644 source/unix/icons/*.svg $(DATADIR)/icons
 	install -m 0644 source/unix/icons/nestopia.svg $(PREFIX)/share/pixmaps
-	xdg-desktop-menu install --novendor $(DATADIR)/nestopia.desktop
 
 uninstall:
 	xdg-desktop-menu uninstall $(DATADIR)/nestopia.desktop
